*                        FUNCTION DEFINITIONS LIST
*
*                             Date: 05.07.96
*
*                             "games.library"
*
##base _GMSBase
##bias 30
##public
*----------------------------------------
* Standard functions
*----------------------------------------
InitGPI(GPI_ID)(d0)
RemoveGPI(GPI_ID)(d0)
Read_Mouse(PortName)(d0)
Read_JoyPort(Portname)(d0)
Read_JoyStick(PortName)(d0)
Read_JoyPad(PortName)(d0)
Read_SegaPad(PortName)(d0)
Read_Analog(PortName)(d0)
Read_Key(KeyStruct)(a0)
FastRandom(range)(d1)
SlowRandom(range)(d1)
Wait_LMB()()
Wait_Fire(PortName)(d0)
Wait_Time(MicroSeconds)(d0)
NoRequesters()()
SetFilter(NewStatus)(d0)
Add_InputHandler()()
Rem_InputHandler()()
Add_Interrupt(Interrupt,IntNum,IntPri)(a0/d0/d1)
Rem_Interrupt(IntBase)(a0)
SmartLoad(FileName,Destination,MemType)(a0/a1/d0)
QuickLoad(FileName,Destination,MemType)(a0/a1/d0)
SmartUnpack(Source,Destination,MemType)(a0/a1/d0)
SetUserPri()()
SetGMSPrefs(PrefsStruct)(a0)
UnpackPic(PicSource,PicDest,PaletteDest)(a0/a1/a2)
GetPicInfo(Picture)(a0)
SetPassword(Password)(d0)
AllocMemBlock(Size,MemType)(d0/d1)
FreeMemBlock(MemBlock)(d0)
Reserved24()()
Reserved25()()
Reserved26()()
Reserved27()()
Reserved28()()
Reserved29()()
Reserved2A()()
Reserved2B()()
Reserved2C()()
Reserved2D()()
Reserved2E()()
Reserved2F()()
Reserved2G()()
Reserved2H()()
Reserved2I()()
Reserved2J()()
*----------------------------------------
* Screens.GPI functions.
*----------------------------------------
Add_Screen(GameScreen)(a0)
Delete_Screen(GameScreen)(a0)
Show_Screen(GameScreen)(a0)
Hide_Screen()()
ReturnToOS()()
AutoOSReturn()()
SwapBuffers(GameScreen)(a0)
Wait_VBL()()
Wait_OSVBL()()
Wait_RastLine(LinePosition)(d0)
Remake_Screen(GameScreen)(a0)
HWScroll_Horizontal(GameScreen,XShift)(a0/d0)
HWScroll_Vertical(GameScreen,YShift)(a0/d0)
HWScroll_Reset(GameScreen)(a0)
*
* Colour stuff.
*
B12_FadeToBlack(GameScreen)(a0)
B12_FadeToWhite(GameScreen,StartCol,AmtCols)(a0/d0/d1)
B12_FadeToPalette(GameScreen,Palette,StartCol,AmtCols)(a0/a1/d0/d1)
B12_FadeToColour(GameScreen,RGB)(a0/d0)
B24_FadeToBlack(GameScreen,Speed)(a0/d0)
B24_FadeToWhite(GameScreen)(a0)
B24_FadeToPalette(GameScreen,Palette)(a0/a1)
B24_FadeToColour(GameScreen,RRGGBB)(a0/d0)
Change_Colours(GameScreen,Colours,StartColour,AmtColours)(a0/a1/d0/d1)
Blank_Colours(GameScreen)(a0)
*
* Rasterlist stuff.
*
Init_RasterList(GameScreen)(a0)
Update_RasterList(GameScreen)(a0)
*Update_RastCommand(Command)(a1)
Remove_RasterList(GameScreen)(a0)
Hide_RasterList(GameScreen)(a0)
Show_RasterList(GameScreen)(a0)
*
* Sprite stuff.
*
Init_Sprite(GameScreen,SpriteStruct)(a0/a1)
Update_Sprite(GameScreen,SpriteStruct)(a0/a1)
Move_Sprite(GameScreen)(a0)
Remove_Sprite(GameScreen,SpriteNum)(a0/d0)
Update_SpriteList(SpriteList)(a0)
Remove_SpriteList(SpriteList)(a0)
Remove_AllSprites(GameScreen)(a0)
Return_AllSprites(GameScreen)(a0)
*
* Reserved for later!
*
Reserved00()()
Reserved01()()
Reserved02()()
Reserved03()()
Reserved04()()
Reserved05()()
Reserved06()()
Reserved07()()
*----------------------------------------
* Blitter.GPI
*----------------------------------------
Init_BOB(GameScreen,BOBStruct)(a0/a1)
Init_BOBList(GameScreen,BOBStructList)(a0/a1)
Blit_BOB(GameScreen,BOBStruct)(a0/a1)
Blit_BOBList(GameScreen,BOBStructList)(a0/a1)
Clear_BOB(GameScreen,BOBStruct)(a0/a1)
Clear_BOBList(GameScreen,BOBStructList)(a0/a1)
Blit_Vertical_Series(GameScreen,SeriesStruct)(a0/a1)
Blit_ScaledBMap(GameScreen)(a0)
Blit_Pattern(GameScreen)(a0)
Blit_Line(GameScreen,SX,SY,EX,EY)(a0/d0/d1/d2/d3)
Blit_Direct(GameScreen,DirectValues)(a0,a1)
SnR_Backgrounds(GameScreen,BOBList)(a0/a1)
Clear_Screen(GameScreen)(a0) 
Clear_ScreenArea(GameScreen,TopX,TopY,BotX,BotY)(a0/d0/d1/d2/d3)
GrabBlitter()()
FreeBlitter()()
Reserved12()()
Reserved13()()
Reserved14()()
Reserved15()()
Reserved16()()
Reserved17()()
Reserved18()()
Reserved19()()
Reserved1A()()
Reserved1B()()
*----------------------------------------
* Sound.GPI
*----------------------------------------
AllocAudio()()
FreeAudio()()
InitSound(SoundStruct)(a0)
CheckChannel(ChannelName)(d0)
PlaySound(SoundStruct)(a0)
PlaySoundDAC1(SoundStruct)(a0)
PlaySoundDAC2(SoundStruct)(a0)
PlaySoundDAC3(SoundStruct)(a0)
PlaySoundDAC4(SoundStruct)(a0)
PlaySoundPri(SoundStruct)(a0)
PlaySoundPriDAC1(SoundStruct)(a0)
PlaySoundPriDAC2(SoundStruct)(a0)
PlaySoundPriDAC3(SoundStruct)(a0)
PlaySoundPriDAC4(SoundStruct)(a0)
SetVolume(Channel,Volume)(d0/d1)
FadeVolume(Channel)()
InitSTPlayer()()
PlaySTMOD()()
StopSTPlayer()()
##end
